package com.haiyou.common.valid.strategy;

import com.haiyou.common.util.ValidatorUtil;

import java.util.List;

public class ValidListStrategy implements ValidStrategy {

  @Override
  public void doOperation(Object target, Object targetAnnotations) {
    if (target instanceof List) {
      ValidatorUtil.validatedTargetForList((List<?>) target);
    }
  }

}
